package common.entities.persistent;

import common.entities.abst.AbstNounEntity;

/**
 * @author Yoyo
 *
 */
public class Genre extends AbstNounEntity {

	/**
	 * This constructor will be used for entities that are fetched from the DB
	 * 
	 * @param id
	 * @param name
	 */
	public Genre(int id, String name) {
		super(id, name);
	}

	/**
	 * This constructor will be used for new entities (i.e still weren't saved into DB)
	 * 
	 * @param name
	 */
	public Genre(String name) {
		super(name);
	}
	
	public Genre() {
		super();
	}
	
	@Override
	public String toString() {
		return "Genre: " + this.getName();
	}

}
